package com.siki.pojo.enumeration.common;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
/**
 * @Author Siki
 * @Date 2020/6/5
 */
@Getter
public enum UserRole {
    GENERAL_USER("普通用户"),
    BUSINESS_USER("企业用户"),
    ADMIN_USER("管理员");

    @EnumValue
    String name;

    UserRole(String name) {
        this.name = name;
    }
}
